.class Lcom/example/m6wmr/YucartActivity$12;
.super Ljava/lang/Object;
.source "YucartActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/YucartActivity;->bindbtn()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/YucartActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/YucartActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    .line 804
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7
    .param p1, "v"    # Landroid/view/View;

    .prologue
    const/4 v6, 0x1

    const/4 v5, 0x0

    .line 807
    iget-object v3, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    # getter for: Lcom/example/m6wmr/YucartActivity;->goint:I
    invoke-static {v3}, Lcom/example/m6wmr/YucartActivity;->access$8(Lcom/example/m6wmr/YucartActivity;)I

    move-result v0

    .line 808
    .local v0, "checkgo":I
    if-ne v0, v6, :cond_2

    .line 809
    iget-object v3, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    .line 810
    const-string v4, "userInfo"

    .line 809
    invoke-virtual {v3, v4, v5}, Lcom/example/m6wmr/YucartActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 811
    .local v1, "preferences":Landroid/content/SharedPreferences;
    const-string v3, "uid"

    const-string v4, ""

    invoke-interface {v1, v3, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 812
    .local v2, "uid":Ljava/lang/String;
    if-eqz v2, :cond_0

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 814
    :cond_0
    iget-object v3, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    invoke-virtual {v3}, Lcom/example/m6wmr/YucartActivity;->waitlogin()V

    .line 832
    :goto_0
    return-void

    .line 816
    :cond_1
    iget-object v3, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    # getter for: Lcom/example/m6wmr/YucartActivity;->mcontext:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/YucartActivity;->access$1(Lcom/example/m6wmr/YucartActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u5904\u7406\u8ba2\u5355"

    const-string v5, "\u63d0\u4ea4\u6570\u636e\u4e2d.."

    invoke-static {v3, v4, v5}, Lmyapp/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 817
    iget-object v3, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    invoke-virtual {v3}, Lcom/example/m6wmr/YucartActivity;->submitSource()Z

    goto :goto_0

    .line 820
    .end local v1    # "preferences":Landroid/content/SharedPreferences;
    .end local v2    # "uid":Ljava/lang/String;
    :cond_2
    iget-object v3, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    .line 821
    const-string v4, "userInfo"

    .line 820
    invoke-virtual {v3, v4, v5}, Lcom/example/m6wmr/YucartActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 822
    .restart local v1    # "preferences":Landroid/content/SharedPreferences;
    const-string v3, "uid"

    const-string v4, ""

    invoke-interface {v1, v3, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 823
    .restart local v2    # "uid":Ljava/lang/String;
    if-eqz v2, :cond_3

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_4

    .line 825
    :cond_3
    iget-object v3, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    invoke-virtual {v3}, Lcom/example/m6wmr/YucartActivity;->waitlogin()V

    goto :goto_0

    .line 827
    :cond_4
    iget-object v3, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    invoke-static {v3, v6}, Lcom/example/m6wmr/YucartActivity;->access$22(Lcom/example/m6wmr/YucartActivity;I)V

    .line 828
    iget-object v3, p0, Lcom/example/m6wmr/YucartActivity$12;->this$0:Lcom/example/m6wmr/YucartActivity;

    invoke-virtual {v3}, Lcom/example/m6wmr/YucartActivity;->getcartstep2()V

    goto :goto_0
.end method
